﻿// GlobalVariables.cpp: 实现文件
//

#include "stdafx.h"
#include "MesTest.h"
#include "GlobalVariables.h"
#include "MesGSoap.h"


// GlobalVariables

IMPLEMENT_DYNAMIC(GlobalVariables, CWnd)

GlobalVariables::GlobalVariables()
{

}

GlobalVariables::~GlobalVariables()
{
}


BEGIN_MESSAGE_MAP(GlobalVariables, CWnd)
END_MESSAGE_MAP()

CString g_FilePathPLC;  //PLC路径
CString g_FilePathLog;  //日志路径
CString g_SystemPathPLC;  //系统参数路径
CString g_MESPathLog;  //MES路径
AddressPLC g_PLCAddress;  //PLC地址
InfoMES g_InfoMes;  //MES信息
Land g_Land; //账号密码信息
DHInterface* g_pPlc = NULL; //Plc通信模块
DHInterface* g_pMES = NULL;
int MESStatus = 0;
SendMes g_SendMes;  //发送数据
PVOID        g_pMainDialog = NULL;       //主对话框;
int SendType = 1; //发送类型
int PassType = 0;
// GlobalVariables 消息处理程序
int g_ProductCod=1; //产品条码自动读取
int g_DanJiaCode=1; //弹夹条码自动读取
int g_nSendMes=1; //是否上传MES
int g_nAutoReadWorker=1; //是否自动员工号
DHInterface* g_pWatch = NULL;

